//
//  MessgeTableViewCell.m
//  marrymarry
//
//  Created by lsj on 16/10/10.
//  Copyright © 2016年 cf. All rights reserved.
//

#import "MessgeTableViewCell.h"
#import "msgModel.h"
@implementation MessgeTableViewCell

- (void)awakeFromNib {
    // Initialization code
}


-(void)loadViewWithArry:(NSMutableArray *)myArry andIndexPath:(NSIndexPath *)indexPath
{
    msgModel * model = myArry[indexPath.row];
    [self.headImgView setImage:[UIImage imageNamed:model.imgName]];
    self.headTitleLabel.text = model.titleName;
    self.detailLabel.text = model.detailInfo;
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
